package org.btik.light.server.platform.common.api.bean.dev.access;


import org.btik.light.server.platform.common.api.bean.sensitive.annotation.SensitiveField;
import org.btik.light.tool.MDUtil;

/**
 * @author lustre
 * @since 2023/6/8 9:56
 */
public class DevAccountDto {
    private String username;
    private MDUtil.Algorithm mdAlgorithm;

    private Boolean status;


    private String password;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public MDUtil.Algorithm getMdAlgorithm() {
        return mdAlgorithm;
    }

    public void setMdAlgorithm(MDUtil.Algorithm mdAlgorithm) {
        this.mdAlgorithm = mdAlgorithm;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getPassword() {
        return password;
    }

    @SensitiveField
    public void setPassword(String password) {
        this.password = password;
    }
}
